$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;
$f: 19.2;

.home {
  position: relative;
  width: 100%;

  .jx {
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    text-align: right;

    img {
      max-width: 100%;
    }
  }

  .title {
    width: 80vw;
    margin: 0 auto 3vw auto;
    padding-top: 10vw;
    .cn {
      color: #111;
      font-size: $fontSize_64;
      font-weight: 600;
    }

    .en {
      font-family: 'Montserrat-Regular';
      color: rgba(224, 28, 28, 1);
      font-size: $fontSize_28;
      font-weight: 600;
      margin-top: 10px;
    }
  }

  .section1 {
    width: 80vw;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;

    a {
      color: #111;
      font-size: $fontSize_14;
    }

    span {
      width: 8px;
      height: 2px;
      background-color: rgba(224, 28, 28, 1);
      margin: 0 1vw;
    }

    p {
      color: #666;
    }
  }

  .section2 {
    width: 100%;
    margin: 2vw 0;
    position: relative;

    .bg {
      img {
        width: 100%;
        display: block;
        object-fit: cover;
      }
    }

    .shadow {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;

      img {
        width: 100%;
      }
    }
  }


  .section3 {
    padding: 5vw 10vw;
    background: #F9F9F9;

    .t {
      .cn {
        color: #111;
        font-size: $fontSize_64;
        font-weight: 600;
      }

      .en {
        font-family: 'Montserrat-Regular';
        color: rgba(224, 28, 28, 1);
        font-size: $fontSize_28;
        font-weight: 600;
        margin-top: 10px;
      }
    }

    .allNums {
      display: flex;
      justify-content: space-between;
      text-align: center;
      width: 95%;
      margin: 2vw auto;

      .item {
        .nums {
          display: flex;
          justify-content: center;
          align-items: flex-end;

          .count {
            color: #E01C1C;
            font-size: $fontSize_64;
            font-weight: bold;
          }

          span {
            color: #6F6F6F;
            font-size: $fontSize_36;
            transform: translateX(5px) translateY(-10px);
            font-weight: bold;
          }
        }

        .tag {
          color: #000;
          font-size: $fontSize_18;
          margin-top: -10px;
        }
      }
    }

    .map {
      width: 100%;

      img {
        width: 100%;
        display: block;
        object-fit: cover;
      }
    }
  }

  .section4 {
    width: 80vw;
    margin: 5vw auto;

    .t {
      .cn {
        color: #111;
        font-size: $fontSize_64;
        font-weight: 600;
      }

      .en {
        font-family: 'Montserrat-Regular';
        color: rgba(224, 28, 28, 1);
        font-size: $fontSize_28;
        font-weight: 600;
        margin-top: 10px;
      }
    }

    .box1 {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 3vw 0;

      .l {
        width: fit-content;
        display: flex;

        .item {
          width: 12vw;
          margin-right: 3vw;

          .num {
            display: flex;
            align-items: center;
            color: #E01C1C;
            font-size: $fontSize_64;
            border-bottom: 2px solid #111;
            padding-bottom: 10px;

            span {
              margin-left: 10px;
            }
          }

          .tag {
            color: #000;
            font-size: $fontSize_16;
            margin-top: 10px;
          }
        }
      }

      .r {
        width: 45%;

        .p1 {
          color: #000;
          font-size: $fontSize_48;
          font-weight: 700;
          line-height: 1.5;
        }

        .des {
          color: #111;
          font-size: $fontSize_16;
          text-align: justify;
          margin-top: 2vw;
        }
      }
    }

    .box2 {
      .scroll-container {
        width: 100%;
        overflow: hidden;

        .animate_box {
          display: flex;
          width: max-content;
          animation: ani-loop 20s linear infinite;
          padding: 1vw 0;

          .flex-xb {
            display: flex;
            flex-wrap: wrap;

            .icon {
              width: 190/19.2+vw;
              border-radius: 12px;
              height: 112/19.2+vw;
              display: flex;
              align-items: center;
              justify-content: center;
              margin-left: 2vw;
              background: #FFF;
              box-shadow: 0px 0px 20.001px 0px rgba(0, 0, 0, 0.08);

              img {
                max-height: 80%;
                max-width: 80%;
                display: block;
                object-fit: contain;
              }
            }
          }

          @keyframes ani-loop {
            0% {
              transform: translateX(0);
            }

            100% {
              transform: translateX(-50%);
            }
          }
        }

      }
    }
  }

  .section5 {
    background: #F9F9F9;
    padding: 3vw 10vw;

    .t {
      .cn {
        color: #111;
        font-size: $fontSize_64;
        font-weight: 600;
      }

      .en {
        font-family: 'Montserrat-Regular';
        color: rgba(224, 28, 28, 1);
        font-size: $fontSize_28;
        font-weight: 600;
        margin-top: 10px;
      }
    }

    .content {
      width: 100%;
      margin: 2vw 0 0 0;

      .item {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #D9D9D9;
        padding: 2vw 0;

        .lt {
          color: #E01C1C;
          font-size: $fontSize_28;
          font-weight: 700;
        }

        .des {
          width: 30vw;
          color: #000;
          font-size: $fontSize_36;
          font-weight: 700;
        }

        .des2 {
          width: 30vw;

          .it {
            display: flex;
            align-items: center;
            margin-bottom: 1.5vw;

            span {
              color: #E01C1C;
              font-size: $fontSize_18;
              font-family: 'Montserrat-Regular';
            }

            p {
              color: #000;
              font-size: $fontSize_24;
              margin-left: 10px;
              font-weight: bold;
            }
          }

          .it:last-child {
            margin-bottom: 0;
          }
        }
      }
    }
  }

  .section6 {
    margin: 5vw 0 5vw 10vw;

    .t {
      .cn {
        color: #111;
        font-size: $fontSize_64;
        font-weight: 600;
      }

      .en {
        font-family: 'Montserrat-Regular';
        color: rgba(224, 28, 28, 1);
        font-size: $fontSize_28;
        font-weight: 600;
        margin-top: 10px;
      }
    }

    .history {
      width: 100%;
      margin: 3vw 0;
      position: relative;
      .line{
        position: absolute;
        left: 0;
        top:3.5vw;
        width: 100%;
        background: #DDD;
        height: 1px;
      }
      .swiper-container {
        width: 100%;

        .info {
          .time {
            color: #000;
            font-size: $fontSize_24;
            font-family: 'Montserrat-Regular';
            font-weight: 700;
          }

          .circle {
            width: 22/$f+vw;
            height: 22/$f+vw;
            border-radius: 50%;
            background: #E01C1C;
            margin: 1.5vw 0 2vw 0;
          }
          .tag{
            font-size: $fontSize_18;
            font-weight: 700;
          }
          .des{
            color: #111;
            font-size: $fontSize_16;
            margin-top: 10px;
          }
        }
      }
    }
    .drag{
      background: #F6F8FB;
      width: 20vw;
      margin: 0 auto;
      height:40px;
      border-radius: 50/$f+vw;
      position: relative;
      .swiper-scrollbar{
        width: 100%;
        position: absolute;
        left: 0;
        top:0;
        height: 100%;
        z-index: 10;
        .swiper-scrollbar-drag{
          background: url(../images/samll_logo.png) no-repeat;
          background-size: contain;
          cursor: pointer;
        }
      }
    }
  }

  .application{
    margin: 5vw 0 5vw 10vw;
    .swiper-container{
      width: 100%;
      .pic{
        img{
          width: 100%;
          display: block;
          object-fit: cover;
        }
      }
    }
    .swiper-pagination{
      position: static;
      background: #D9D9D9;
      height: 4px;
      width: 100%;
      margin-top: 2vw;
      .swiper-pagination-progressbar-fill{
        background: #E01C1C;
      }
    }
  }

  .section7 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 6vw;

    .item {
      width: 50%;
      position: relative;

      .bg {
        overflow: hidden;

        img {
          width: 100%;
          display: block;
          object-fit: cover;
          transition: all 600ms;
        }
      }

      .text {
        position: absolute;
        left: 10vw;
        top: 50%;
        transform: translateY(-50%);
        color: white;

        .p1 {
          color: #FFF;
          font-size: $fontSize_54;
          font-weight: 700;
        }

        .p2 {
          color: #FFF;
          font-size: $fontSize_22;
          font-weight: 700;
        }
      }

      .btn {
        position: absolute;
        right: 5%;
        bottom: 5%;
        border: 2px solid white;
        width: fit-content;
        padding: 0.3vw 1.8vw;
        border-radius: 30px;
        transition: all 600ms;

        svg {
          display: block;
          transition: all 600ms;
        }

        &:hover {
          background-color: rgba(224, 28, 28, 1);
          border-color: rgba(224, 28, 28, 1);

          svg {
            transform: translateX(10px);
          }
        }
      }

      &:hover {
        .bg {
          img {
            transform: scale(1.05);
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 70px;
    .title{
      width: 90%;
      padding-top: 20px;
      .cn{
        font-size: 24px;
      }
      .en{
        font-size: 18px;
      }
    }
    .section1{
      width: 90%;
      a{
        font-size: 14px;
      }
    }
    .section2{
      margin: 15px 0;
    }
    .section3{
      padding: 30px 5%;
      .t{
        .cn{
          font-size: 24px;
        }
        .en{
          font-size: 18px;
        }
      }
      .allNums{
        width: 100%;
        margin: 30px 0;
        .item{
          .nums{
            .count{
              font-size:32px;
            }
            span{
              font-size: 18px;
            }
          }
          .tag{
            font-size: 14px;
            margin-top: 0;
          }
        }
      }
    }
    .section4{
      width: 90%;
      margin: 30px auto;
      .t{
        .cn{
          font-size: 24px;
        }
        .en{
          font-size: 18px;
        }
      }
      .box1{
        flex-direction: column;
        margin: 20px 0;
        .l{
          width: 100%;
          justify-content: space-between;
          .item{
            width: 45%;
            margin-right: 0;
            .num{
              font-size: 32px;
            }
            .tag{
              font-size: 18px;
            }
          }
        }
        .r{
          width: 100%;
          margin-top: 15px;
          .p1{
            font-size: 20px;
          }
          .des{
            font-size: 16px;
          }
        }
      }
      .box2{
        .scroll-container{
          .animate_box{
            padding: 20px 0;
            .flex-xb{
              .icon{
                width: 85px;
                height: 62px;
              }
            }
          }
        }
      }
    }
    .section5{
      padding: 30px 5%;
      .t{
        .cn{
          font-size: 24px;
        }
        .en{
          font-size: 18px;
        }
      }
      .content{
        margin: 20px 0;
        .item{
          padding: 20px 0;
          .lt{
            font-size: 18px;
          }
          .des{
            width: 70%;
            font-size: 16px;
          }
          .des2{
            width: 70%;
            .it{
              margin-bottom: 15px;
              span{
                font-size: 16px;
              }
              p{
                font-size: 14px;
              }
            }
          }
        }
      }
    }
    .section6{
      margin: 30px 0 30px 5%;
      .t{
        .cn{
          font-size: 24px;
        }
        .en{
          font-size: 18px;
        }
      }
      .history{
        margin: 30px 0;
        .line{
          top:30px;
        }
        .swiper-container{
          .info{
            .time{
              font-size: 14px;
            }
            .circle{
              width: 8px;
              height: 8px;
              margin: 10px 0 20px 0;
            }
            .tag{
              font-size: 16px;
            }
            .des{
              font-size: 14px;
            }
          }
        }
      }
      .drag{
        width: 50%;
        .btns{
          padding: 5px 15px;
          .prev{
            margin-right: 15px;
          }
        }
      }
    }
    .application{
      margin: 30px 0 30px 5%;
      .swiper-pagination{
        margin-top: 10px;
      }
    }
    .section7{
      flex-direction: column;
      .item{
        width: 100%;
        .text{
          left: 5%;
          .p1{
            font-size: 20px;
          }
          .p2{
            font-size: 16px;
          }
        }
        .btn{
          padding: 5px 25px;
          bottom: 20px;
        }
      }
    }
  }
}